#!/bin/bash


function1(){
echo ==================
if [ `whoami` != 'root' ];then
	echo notok
else
	echo ok
fi
}

function2(){
echo ==================
if [ $USERNAME != 'root' ];then
	echo `whoami`
else
	echo notok
fi
}

function1
